 
<include file='shop/index' />
</br>
店面列表：
</br>
<table border="1" cellspacing="0" cellpadding="0" class="altrowstable"
	id="alternatecolor">
	<tr>
		<td>序号</td>
		<td>店面id</td>
		<td>店面名称</td>
		<td>所属平台</td>
		<td>店面客户经理</td>
		<td>手机</td>
		<td>地址</td>
		<td>网址</td>
		<td>账号</td>
		<td>密码</td>
		<td>cookie</td>
		<td>备注</td>
		<td>修改时间</td>
		<td>操作</td>
		<td></td>
	</tr>
	<volist name="list" id="arr" k='i'>

	<tr>
		<td>{$i}</td>
		<td>{$arr.dmid}</td>
		<td>{$arr.dmname}</td>
		<td>{$arr.ptid}</td>
		<td>{$arr.manager}</td>
		<td>{$arr.mobile}</td>
		<td>{$arr.address}</td>
		<td>{$arr.url}</td>
		<td>{$arr.user}</td>
		<td>{$arr.password}</td>
		<td>{$arr.cookie}</td>
		<td>{$arr.memo}</td>
		<td>{$arr.date}</td>
		<td><a href="{:U('shop/dmupdate',array('id'=>$arr[id]))}">修改</a></td>
		<td><a href="{:U('shop/dm',array('op'=>'del','id'=>$arr[id]))}">
				删除</a></td>
	</tr>
	</volist>
</table>

</br></br>
新建店面：
</br></br>

<form action="__ROOT__/shop/dm" method="post">
	<table border="1" cellspacing="0" cellpadding="0" class="altrowstable"
		id="alternatecolor">

		<tr>
			<td>店面id：</td>
			<td><input type="text" name="dmid" value="" /></td>
		</tr>
		<tr>
			<td>店面名称：</td>
			<td><input type="text" name="dmname" value="" /></td>
		</tr>
		<tr>
			<td>所属平台：</td>
			<td>
			<select name="ptid">
					<volist name="ptlist" id="arr" k='i'>
					<option value="{$arr.ptid}">{$arr.name}</option>
					 
					</volist>
			</select>
			</td>
		</tr>
		<tr>
			<td>店面客户经理：</td>
			<td><input type="text" name="manager" value="" /></td>
		</tr>
		<tr>
			<td>手机：</td>
			<td><input type="text" name="mobile" /></td>
		</tr>
		<tr>
			<td>地址：</td>
			<td><input type="text" name="address" /></td>
		</tr>
		<tr>
			<td>网址：</td>
			<td><input type="text" name="url" /></td>
		</tr>
		<tr>
			<td>账号：</td>
			<td><input type="text" name="user" /></td>
		</tr>
		<tr>
			<td>密码：</td>
			<td><input type="text" name="password" /></td>
		</tr>
		<tr>
			<td>cookie：</td>
			<td><input type="text" name="cookie" /></td>
		</tr>
		<tr>
			<td>备注：</td>
			<td><input type="text" name="memo" /></td>
		</tr>
		<tr>
			<td></td>
			<td><input type="submit" value="新增"></td>
		</tr>


	</table>
</form>


